package com.trinhrae.shooting.exception;

/**
 * @Author: TrinhRae
 * @Package: com.trinhrae.shooting.exception
 * @Project: shooting
 * @Date: 2025/9/3 9:13
 */
public class BusinessException extends RuntimeException{
    private final int code;

    public BusinessException(int code, String message) {
        super(message);
        this.code = code;
    }

    public int getCode(){
        return code;
    }
}
